package com.jf.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jf.blog.bean.Blog;
import com.jf.blog.form.blog.BlogForm;
import com.jf.blog.form.blog.BlogSearchForm;
import com.jf.blog.util.ResultJson;

import java.util.List;

/**
 * <p>
 * 博客表 服务类
 * </p>
 *
 * @author JF
 * @since 2025-06-20
 */
public interface BlogService extends IService<Blog> {
    void saveOrUpdate(BlogForm form);

    ResultJson getPage(int page, int limit, BlogSearchForm form);

    void delete(List<Integer> blogIds);

    void updateBlogStatus(int blogId);

    void updateStatus(int blogId);
}
